
# Encoding::default_external = Encoding::GBK
puts "\xA1\xFF\xB0\xA1"
str = gets.chomp
def chara(str)
  p0 = p str

  p str.encoding
  puts p0
  p p0


end


chara(str)
# s = gets.chomp

# p str
# p "啊"

# p "\u554A"
# print "\u554A\n"
# puts "\u554A" == "啊" #true
# printf "\u554A"